package com.own.core.object.admin;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.own.core.html.form.textField.TextField;
import com.own.core.object.Dao;

@Entity
@Table(name = "core_setting")
public class Setting extends Dao {

	private long id;

	@TextField(required = true, list = true)
	private String name;

	@TextField(required = true)
	private String value;


	@Id
	@GeneratedValue(strategy = GenerationType.TABLE)
	public long getId() {
		return id;
	}


	public String getName() {
		return name;
	}


	public String getValue() {
		return value;
	}


	public void setId(long id) {
		this.id = id;
	}


	public void setName(String name) {
		this.name = name;
	}


	public void setValue(String value) {
		this.value = value;
	}


}
